package com.future.hair.server.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author future-RogueYBJ
 * @since 2020-05-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_order")
@ApiModel(value="UserOrder对象", description="")
public class UserOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "user_id(用户id)")
    private Integer userId;

    @ApiModelProperty(value = "barber_id(理发师id)")
    private Integer barberId;

    @ApiModelProperty(value = "reserves_id(预约分类id;;拼接)")
    private String reservesId;

    @ApiModelProperty(value = "time(预约时间:时间搓)")
    private Long time;

    @ApiModelProperty(value = "订单状态(1:已预约  2:已完成)")
    private Integer type;

    @ApiModelProperty(value = "备注")
    private Integer remark;

    @ApiModelProperty(value = "reserves(预约项目)")
    private String reserves;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updataTime;

}
